Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dashboard): adding dateTime on graphs #332

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucasbracher
Copy link
Collaborator

Showing date and time on tooltips.

Before After
image image

Closes #229

@lucasbracher lucasbracher force-pushed the feat/229_datetime_on_history_graph branch from dda7cfa to 3631c73 Compare September 21, 2024 19:51
return (
(currentCommitData.commitName ?? currentCommitData.commitHash) +
' - ' +
formatDate(currentCommitData.earliestStartTime as string, true)
Copy link
Collaborator

@WilsonNet WilsonNet Sep 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validate instead of using as, you can use z.string.parse().catch()

as is type unsafe, it is for times where you are time constrained

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add datetime (on hover) on the history graph
2 participants